package digitalmat.p.com.google.code;

import java.awt.FlowLayout;

import javax.swing.JPanel;
import javax.swing.JTextField;


public class StatusBar extends JPanel {

   private JTextField x = new JTextField(10);
   private JTextField y = new JTextField(10);


   public StatusBar() {
      this.setLayout(new FlowLayout());
      this.add(this.x);
      this.add(this.y);
      }

   public void set(int x, int y) {
      this.x.setText(Integer.toString(x));
      this.y.setText(Integer.toString(y));
   }

}
